﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate;
using MovieDB.Data.Entities;

namespace MovieDB.Data.Configs
{
    public class EntitiesToMapSource : ITypeSource
    {
        public IEnumerable<Type> GetTypes()
        {
            var types = new Type[]
                            {
                                typeof(Category),
                                typeof(Rating),
                                typeof(Movie),
                                typeof(Genre)
                            };

            return types;
        }
    }
}
